//
//  XKHomeCollectionViewLayout.h
//  xk100
//
//  Created by xiaokang on 2017/5/17.
//  Copyright © 2017年 xiaokang. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol XKHomeCollectionViewLayoutDelegate <NSObject>
    
@optional;
- (CGFloat)heightOfSectionHeaderForIndexPath:(NSIndexPath *)indexPath;
- (CGFloat)heightOfSectionFooterForIndexPath:(NSIndexPath *)indexPath;
@end


@interface XKHomeCollectionViewLayout : UICollectionViewLayout
    
@property (nonatomic, assign) id<XKHomeCollectionViewLayoutDelegate>delegate;
    
@end
